#include "LinearMath/btGrahamScan2dConvexHull.h"
#ifdef __cplusplus
extern "C" {
#endif
btAngleCompareFunc* bullet_NewbtAngleCompareFunc(btVector3* anchor){
	btVector3 const& c_arg_anchor=(btVector3 const&)(*anchor);
	btAngleCompareFunc* wrap_out = new btAngleCompareFunc(c_arg_anchor);
	return wrap_out;
}

btVector3* bullet_btAngleCompareFunc_GetFieldOfM_anchor(btAngleCompareFunc* c_this){
	return (btVector3*)(&c_this->m_anchor);
}

GrahamVector3* bullet_NewGrahamVector3(btVector3* org,int orgIndex){
	btVector3 const& c_arg_org=(btVector3 const&)(*org);
	int c_arg_orgIndex=orgIndex;
	GrahamVector3* wrap_out = new GrahamVector3(c_arg_org,c_arg_orgIndex);
	return wrap_out;
}

double bullet_GrahamVector3_GetFieldOfM_angle(GrahamVector3* c_this){
	return (double)(c_this->m_angle);
}

int bullet_GrahamVector3_GetFieldOfM_orgIndex(GrahamVector3* c_this){
	return (int)(c_this->m_orgIndex);
}

#ifdef __cplusplus
}
#endif
